package com.sccba.emtbusiness.domain;

import com.sccba.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户系统关联对象 yjcz_user_channel
 * 
 * @author lichh
 * @date 2024-05-07
 */
public class YjczUserChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户表主键 */
    private Long userId;

    /** 系统表主键 */
    private Long channelId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setChannelId(Long channelId) 
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("channelId", getChannelId())
            .toString();
    }
}
